<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>${message("admin.admin.add")} - Powered By WISERVICE</title>
    <link href="${base}/resources/admin/css/common.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="${base}/resources/admin/js/jquery.js"></script>
    <script type="text/javascript" src="${base}/resources/admin/js/jquery.tools.js"></script>
    <script type="text/javascript" src="${base}/resources/admin/js/jquery.validate.js"></script>
    <script type="text/javascript" src="${base}/resources/admin/js/common.js"></script>
    <script type="text/javascript" src="${base}/resources/admin/js/input.js"></script>
    <style type="text/css">
        .roles label {
            width: 150px;
            display: block;
            float: left;
            padding-right: 6px;
        }
    </style>
    <script type="text/javascript">
        $().ready(function() {

            var $inputForm = $("#inputForm");

            [@flash_message /]

            // 表单验证


        });
    </script>
</head>
<body>
<div class="path">
    <a href="${base}/admin/common/index">${message("admin.path.index")}</a> &raquo; 编辑NFC机型
</div>
<form id="inputForm" action="update" method="post">
    <input type="hidden" name="smkAndriodType.id" value="${smkAndriodType.id}" />
    <table class="input tabContent">
        <tr>
            <th>
                <span class="requiredField">*</span>厂商:
            </th>
            <td>
                <input type="text" id="factory" name="smkAndriodType.factory" class="text" maxlength="50" value="${smkAndriodType.factory}"/>
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>android机型:
            </th>
            <td>
                <input type="text" id="andriod_type" name="smkAndriodType.andriod_type" class="text" maxlength="50" value="${smkAndriodType.andriod_type}" />
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>机型说明:
            </th>
            <td>
                <input type="text" id= "addriod_comment" name="smkAndriodType.addriod_comment" class="text" maxlength="50" value="${smkAndriodType.addriod_comment}"/>
            </td>
        </tr>
        <tr>
            <th>
                设置:
            </th>
            <td>
                <select name="smkAndriodType.status" value="${smkAndriodType.status}">
                    <option value="true">启用NFC</option>
                    <option value="false">禁用NFC</option>
                </select>
            </td>
        </tr>
        <tr>
            <th>
                备注:
            </th>
            <td>
                <input type="text" name="smkAndriodType.remarks" value="${smkAndriodType.remarks}" id="remarks" class="text" maxlength="200" />
            </td>
        </tr>
    </table>
    <table class="input">
        <tr>
            <th>
                &nbsp;
            </th>
            <td>
                <input type="submit" class="button" value="${message("admin.common.submit")}" />
                <input type="button" id="backButton" class="button" value="${message("admin.common.back")}" />
            </td>
        </tr>
    </table>
</form>
</body>
</html>